package com.xqboss.apps.domain.punch;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xqboss.apps.domain.BaseTable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 打卡-用户卡槽
 *
 * @author makejava
 * @since 2024-03-18 16:36:49
 */
@Data
@ApiModel("打卡-用户卡槽")
public class PunchUserSlot extends BaseTable {


    @TableId(type = IdType.AUTO)
    private Long id;


    @ApiModelProperty("卡槽id")
    private Long slotId;


    @ApiModelProperty("用户id")
    private Long userId;


    @ApiModelProperty("卡槽状态 -1未解锁 0未使用 1使用中 2失效")
    private Integer status;


    @ApiModelProperty("藏品编号id")
    private Long nftNumberId;


    @ApiModelProperty("用户藏品id")
    private Long userNftId;


    @ApiModelProperty("过期时间")
    private LocalDateTime expireTime;


    @ApiModelProperty("今日打卡次数")
    private Integer todayPunchCount;


    @ApiModelProperty("今日打卡收入")
    private BigDecimal todayPunchIncome;


}
